package ee.ut.cs.mc.mad.a72041.hw1;

/**
 * Simple contract for closures
 * 
 * @author Kaarel Jõgeva
 */
interface Closure<T> {
    /**
     * Executes the closure
     * 
     * @param input object that can be used in the closure
     */
    void exec(T input);
}
